#ifndef		SOCKINFO_HPP_
# define	SOCKINFO_HPP_

# include	<iostream>
# include       <sys/socket.h>
# include       <sys/types.h>
# include       <sys/time.h>
# include       <netinet/in.h>
# include       <arpa/inet.h>

# define	SocketInfo	struct sockaddr_in

class	SockInfo
{
  SocketInfo Sin;
  int Port;

public:
  SockInfo(int		port);
  ~SockInfo(void);
  
  void InitTcpSiSr();
  void InitTcpSiCl(std::string machine);
  void InitUdpSiSr();
  void InitUdpSiClSource();
  void InitUdpSiClTarget();
  SocketInfo &GetSin(void);
};

#endif		/* SOCKINFO_HPP_ */
